﻿using System;
using System.Net;
namespace System.Data.Services
{
    /// <summary>
    /// Extends IDataServiceHost to include extra request and response headers.
    /// </summary>
    public interface IDataServiceHost2 : IDataServiceHost
    {
        /// <summary>Request header for an HTTP request.</summary>
        /// <returns>String value of header.</returns>
        WebHeaderCollection RequestHeaders
        {
            get;
        }
        /// <summary>Response header for an HTTP response. </summary>
        /// <returns>String value of header.</returns>
        WebHeaderCollection ResponseHeaders
        {
            get;
        }
    }
}